package xx.services.entity.inter;

import javax.ws.rs.PathParam;

/**
 * 心情描述服务接口
 * 
 * @Path (Constants.RESTFUL_ROOT_PATH + "/mood")
 * @author chenx
 */
public interface IMoodInterface
{
    /**
     * 为心情{mood_id}的值加1。
     * 
     * @PUT
     * @Path ("/{mood_id}/entity/{entity_id}")
     * @param moodId-@PathParam("mood_id")
     *            心情ID
     * @param entityId-@PathParam("entity_id")
     *            实体ID
     * @return 最新的心情值
     * @author dengjinye,2010-10-29
     */
    public String updateMood(@PathParam("mood_id")
    long moodId, @PathParam("entity_id")
    long entityId);
}
